package com.qianniu.napi.admin.mapper;

import com.qianniu.napi.admin.entity.Coupon;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author chenxuebin
 * @since 2018-07-07
 */
public interface CouponMapper extends BaseMapper<Coupon> {

    List<Coupon> selectStoreCoupon(@Param("uid")Long uid, @Param("oid")Long oid);

    List<Coupon> selectCouponUser(@Param("tplid")Long tplid);
}